
    <!-- form start -->
    <form action="{{url('type')}}" method="post" id="myaddform" class="form-horizontal" enctype="multipart/form-data">
      <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
      <div class="box-body">
        <div class="form-group">
          <label for="inputEmail3" class="col-sm-3 control-label">父类别名：</label>
          <div class="col-sm-4">
            <select name="pid">
                <option value="0">根类别</option>
                @foreach($list as $v)
                    <option value="{{$v->id}}">{{$v->name}}</option>
                @endforeach
            </select>
          </div>
        </div>
        <div class="form-group">
          <label for="inputPassword3" class="col-sm-3 control-label">类别名称：</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" id="inputPassword3" placeholder="类别名称" name="name">
          </div>
        </div>
        
        
           <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">图片：</label>
                      <div class="col-sm-4">
                        <input type="file" name="head_img" class="form-control" placeholder="图片">
                      </div>
            </div>
        
        
        
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">Logo：</label>
                      <div class="col-sm-4">
                        <input type="file" name="logo_img" class="form-control" placeholder="Logo图片">
                      </div>
            </div>
        
        
         <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">介绍：</label>
                      <div class="col-sm-4">
                        <textarea  name="text"  placeholder="每一句话后面加#请遵守添加规则"  ></textarea>
                      </div>
            </div>
        
      </div><!-- /.box-body -->
    </form>
				